{pp:Pagina("count":"{@pp:pagina_count}", "active":"{@pp:pagina_active}", "url":"JavaScript:setAdressPathKey('page', '{page}');", "template":"pagina_modern")}<br />
<div id="forms">
	<div class="tf_table">
		<table>
			<thead>
				<tr>
					<th style="width: 20px;">ID</th>
					<th>Name</th>
					<th style="width: 30px;">Active</th>
					<th style="width: 100px;">From</th>
					<th style="width: 100px;">To</th>
					<th style="width: 50px;">&nbsp;</th>
				</tr>
			</thead>
			<tbody>
				<pp:dynamic name="form">
					<tr>
						<td class="number">{@pp:id}</td>
						<td>{@pp:name}</td>
						<td class="center"><img src="{@pp:abs_root}{@pp:tpl_folder}/img/services/eFiling/status/{@pp:active}.png" /></td>
						<td class="number">{@pp:from}</td>
						<td class="number">{@pp:to}</td>
						<td class="center border-left special">&nbsp;
							<a href="javascript:void(0);" onclick="setAdressPathKeys(new Array('action', 'id'), new Array('edit', '{@pp:id}'));" alt="Bearbeiten" title="Bearbeiten"><img src="{@pp:abs_root}{@pp:tpl_folder}/img/user/action/edit.png"/></a>&nbsp;
							<a href="javascript:void(0);" onclick="deleteForm({@pp:id});" alt="L&ouml;schen" title="L&ouml;schen"><img src="{@pp:abs_root}{@pp:tpl_folder}/img/user/action/delete.gif"/></a>
						</td>
					</tr>
				</pp:dynamic>
			</tbody>
		</table>
	</div>
</div>
<script type="text/javascript">
	<!--
	function deleteForm(id){
		showAdminLoadingDiv();
		getService('eFiling', 'admin', 'args[action]=deleteForm&&args[id]='+id+'&args[noMsg]=true', 
				function (msg) {
					window.setTimeout('location.reload()', 0);
				});
	}
	//-->
</script>